package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 企业订单车辆明细
 *
 * @Author zoumingyu
 * @Date 2020年06月03日
 */
@Data
public class OrderEnterpriseCarDetailVo extends ResponseRootDto {
    private static final long serialVersionUID = 3019003440473543359L;

    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    @ApiModelProperty(value = "总保证金")
    private BigDecimal deposit;

    @ApiModelProperty(value = "总金额/期（订单每期金额）")
    private BigDecimal periodsRental;

    @ApiModelProperty(value = "车型明细")
    private List<EnterpriseModelDetailVo> modelDetail;

    public OrderEnterpriseCarDetailVo() {
    }

    public OrderEnterpriseCarDetailVo(Long orderCode, BigDecimal deposit, BigDecimal periodsRental,
                                      List<EnterpriseModelDetailVo> modelDetail) {
        this.orderCode = orderCode;
        this.deposit = deposit;
        this.periodsRental = periodsRental;
        this.modelDetail = modelDetail;
    }
}
